<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="/WEB-INF/includes/tags.jsp" %>

<div class="center_text">
    <s:form action="save" namespace="/article" method="post" theme="simple">
        <table>
            <tr>
                <td>
                    <s:text name="name"/>:
                </td>
                <td>
                    <s:textfield name="article.name"/>
                </td>
            </tr>
            <tr>
                <td>
                    <s:text name="title"/>:
                </td>
                <td>
                    <s:textfield name="article.title"/>
                </td>
            </tr>
            <tr>
                <td>
                    <s:text name="source"/>:
                </td>
                <td>
                    <s:textfield name="article.source"/>
                </td>
            </tr>
            <tr>
                <td>
                    <s:text name="keyWords"/>:
                </td>
                <td>
                    <s:textfield name="article.keyWords"/>
                </td>
            </tr>
            <tr>
                <td>
                    <s:text name="language"/>:
                </td>
                <td>
                    <select name="article.language">
                        <option value="0"><s:text name="text.message.language."/></option>
                        <s:iterator value="languages">
                            <option value="${id}"><s:text name="text.message.language.%{isoName}"/></option>
                        </s:iterator>
                    </select>

                </td>
            </tr>
            <tr>
                <td>
                    <s:text name="description"/>:
                </td>
                <td>
                    <s:textfield name="article.description"/>
                </td>
            </tr>
            <tr>
                <td>
                    <s:text name="content"/>:
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <k:editor name="article.content" config="/js/ckeditor/myconfig.js"/>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <s:submit key="ui.confirm" name="confirm" />
                </td>
            </tr>
        </table>
    </s:form>
</div>